From 230ffc306f59897638eb7bd634f0c4329d03f84e Mon Sep 17 00:00:00 2001 From: justbur Date: Fri, 3 Jul 2015 08:09:27 -0400 Subject: [PATCH] Save popwin functions as comments --- which-key.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/which-key.el b/which-key.el index 95a5f76f9b6..4f2220436d1 100644 --- a/which-key.el +++ b/which-key.el @@ -212,6 +212,18 @@ Finally, show the buffer." (when (window-live-p which-key--window) (delete-window which-key--window))) +;; (defun which-key/show-buffer (height width) +;; (popwin:popup-buffer which-key-buffer-name +;; :width width +;; :height height +;; :noselect t +;; :position which-key-buffer-position)) + +;; (defun which-key/hide-buffer () +;; "Like it says :\)" +;; (when (eq popwin:popup-buffer (get-buffer which-key--buffer)) +;; (popwin:close-popup-window))) + (defun which-key/turn-on-timer () "Activate idle timer." (setq which-key--timer -- 2.30.2